package com.mediacloud.app.newsmodule.activity;


import com.mediacloud.app.reslib.enums.AppFactoryGlobalConfig.ServerAppConfigInfo.NavigateBarStyle;
import com.mediacloud.app.share.utils.ShareGridDataUtil;

import static com.mediacloud.app.reslib.enums.AppFactoryGlobalConfig.getAppServerConfigInfo;

public class ActivityDetailPage extends WebViewPageActivity {
    @Override
    protected void initShare() {
        super.initShare();


        if (articleItem.getIs_share() == 0) {
            showShareWithConfig(false);
//            shareGridDataUtil.removeGridItem(ShareGridDataUtil.QQ);
//            shareGridDataUtil.removeGridItem(ShareGridDataUtil.QQZone);
//            shareGridDataUtil.removeGridItem(ShareGridDataUtil.WeiXinCircle);
//            shareGridDataUtil.removeGridItem(ShareGridDataUtil.WeiXinFriend);
//            shareGridDataUtil.removeGridItem(ShareGridDataUtil.SinaWeiBo);
        }

    }
    @Override
    protected NavigateBarStyle getNewsDetailNavigateBarStyle() {
        return getAppServerConfigInfo(this).getActivityNewsBar();
    }
}